
const default_out = {

    computed: {
        roleSystem() {
            return this.$loginUser ? this.$loginUser.roleSystem : null
        },
        isMainSystem() {
            return this.isCustomerSystem || this.isOmsSystem
        },
        isCustomerSystem() {
            return this.roleSystem == 'CUSTOMER'
        },
        isOmsSystem() {
            return this.roleSystem == 'OMS'
        },
        isWmsSystem() {
            return this.roleSystem == 'WMS'
        },
        isTmsSystem() {
            return this.roleSystem == 'TMS'
        },
    },

}
export default default_out
